Skip to content

Automated Resyntax fixes - #840

Open
resyntax-ci[bot] wants to merge 11 commits into
masterfrom
autofix-173-1
Open

resyntax-ci[bot] wants to merge 11 commits into
masterfrom
autofix-173-1

Conversation

@resyntax-ci

@resyntax-ci resyntax-ci Bot commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Resyntax fixed 20 issues in 6 files.

  • Fixed 4 occurrences of quasiquote-to-list
  • Fixed 3 occurrences of let-to-define
  • Fixed 3 occurrences of flatten-apply-append-syntax-template
  • Fixed 3 occurrences of cond-let-to-cond-define
  • Fixed 1 occurrence of and-let-to-cond
  • Fixed 1 occurrence of define-lambda-to-define
  • Fixed 1 occurrence of cond-else-if-to-cond
  • Fixed 1 occurrence of define-begin-extraction
  • Fixed 1 occurrence of define-let-to-multi-define
  • Fixed 1 occurrence of define-lambda-to-curried-define
  • Fixed 1 occurrence of always-throwing-if-to-when

resyntax-ci Bot added 11 commits November 22, 2026 00:39
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
The `else`-`if` branch of this `cond` expression can be collapsed into the `cond` expression.
Using `cond` allows converting `let` to internal definitions, reducing nesting
The `begin` in this definition can be extracted into the surrounding definition context.
Flattening a nested ellipsis syntax template with `apply`, `append`, and `map` can be expressed more directly with a single flattened ellipsis template.
This `let` expression can be pulled up into multiple `define` expressions.
The `define` form supports a shorthand for defining functions.
This quasiquotation is equivalent to a simple `list` call.
Using `when` and `unless` is simpler than a conditional with an always-throwing branch.
Functions returning lambdas can be written using curried function syntax.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants